function makewritable(table: table): ()
table
required
The read-only table to make writable.
Example
local protected = table.freeze({ foo = "bar" })
print(pcall(function() protected.bar = "foo" end)) --> false, attempt to modify a readonly table
makewritable(protected) -- Equivalent to setreadonly(protected, false)
protected.bar = "foo"
print(protected.bar, table.isfrozen(protected)) --> foo, false
makereadonly(protected) -- Equivalent to setreadonly(protected, true) or table.freeze(protected)
